home *** CD-ROM | disk | FTP | other *** search
/ Champak 49 / Volume 49 - JOGO DISK .iso / Games / garus_getaway.swf / scripts / frame_1 / DoAction.as < prev   
Encoding:
Text File  |  2007-09-27  |  5.4 KB  |  159 lines

  1. var ┬º\x01┬º = 66;
  2. while(true)
  3. {
  4.    if(eval("\x01") == 66)
  5.    {
  6.       set("\x01",eval("\x01") + 352);
  7.       ┬º┬ºpush(true);
  8.    }
  9.    else
  10.    {
  11.       if(eval("\x01") == 204)
  12.       {
  13.          set("\x01",eval("\x01") + 722);
  14.          toggleHighQuality();
  15.          stop();
  16.          ┬º┬ºpush(length(┬º┬ºpop()));
  17.          break;
  18.       }
  19.       if(eval("\x01") == 181)
  20.       {
  21.          set("\x01",eval("\x01") + 296);
  22.          break;
  23.       }
  24.       if(eval("\x01") == 573)
  25.       {
  26.          set("\x01",eval("\x01") - 102);
  27.          if(┬º┬ºpop())
  28.          {
  29.             set("\x01",eval("\x01") - 58);
  30.          }
  31.       }
  32.       else if(eval("\x01") == 477)
  33.       {
  34.          set("\x01",eval("\x01") + 203);
  35.          ┬º┬ºpush(true);
  36.       }
  37.       else if(eval("\x01") == 680)
  38.       {
  39.          set("\x01",eval("\x01") - 483);
  40.          if(┬º┬ºpop())
  41.          {
  42.             set("\x01",eval("\x01") - 147);
  43.          }
  44.       }
  45.       else if(eval("\x01") == 926)
  46.       {
  47.          set("\x01",eval("\x01") - 877);
  48.          ┬º┬ºpush(true);
  49.       }
  50.       else if(eval("\x01") == 50)
  51.       {
  52.          set("\x01",eval("\x01") + 523);
  53.          ┬º┬ºpush(true);
  54.       }
  55.       else
  56.       {
  57.          if(eval("\x01") == 471)
  58.          {
  59.             set("\x01",eval("\x01") - 58);
  60.             prevFrame();
  61.             ┬º┬ºpush(┬º┬ºpop() or ┬º┬ºpop());
  62.             break;
  63.          }
  64.          if(eval("\x01") == 418)
  65.          {
  66.             set("\x01",eval("\x01") - 214);
  67.             if(┬º┬ºpop())
  68.             {
  69.                set("\x01",eval("\x01") + 722);
  70.             }
  71.          }
  72.          else
  73.          {
  74.             if(eval("\x01") != 49)
  75.             {
  76.                if(eval("\x01") == 197)
  77.                {
  78.                   set("\x01",eval("\x01") - 147);
  79.                   var _loc53_ = null;
  80.                   ┬º┬ºpush(_loc53_ = ┬º┬ºpop());
  81.                   break;
  82.                }
  83.                if(eval("\x01") == 413)
  84.                {
  85.                   set("\x01",eval("\x01") + 565);
  86.                   var mainSound = new Sound(this);
  87.                   mainSound.setVolume(100);
  88.                   var noodleFall_snd = new Sound(this);
  89.                   noodleFall_snd.attachSound("noodle_falling");
  90.                   var blowKiss_snd = new Sound(this);
  91.                   blowKiss_snd.attachSound("blow_kiss");
  92.                   var noodlePop_snd = new Sound(this);
  93.                   noodlePop_snd.attachSound("noodle_pop");
  94.                   var heartPop_snd = new Sound(this);
  95.                   heartPop_snd.attachSound("heart_pop");
  96.                   var heartHit_snd = new Sound(this);
  97.                   heartHit_snd.attachSound("heart_hit");
  98.                   var noodleHit_snd = new Sound(this);
  99.                   noodleHit_snd.attachSound("noodle_hit");
  100.                   var jump_snd = new Sound(this);
  101.                   jump_snd.attachSound("jump");
  102.                   var ninja_snd = new Sound(this);
  103.                   ninja_snd.attachSound("ninja");
  104.                   var score_snd = new Sound(this);
  105.                   score_snd.attachSound("score");
  106.                   var lostLife_snd = new Sound(this);
  107.                   lostLife_snd.attachSound("lost_life");
  108.                   var easterEgg_snd = new Sound(this);
  109.                   easterEgg_snd.attachSound("easter_egg");
  110.                   var eggFall_snd = new Sound(this);
  111.                   eggFall_snd.attachSound("egg_falling");
  112.                   var bonusScore_snd = new Sound(this);
  113.                   bonusScore_snd.attachSound("bonus_score");
  114.                   var titleMusic_snd = new Sound(this);
  115.                   titleMusic_snd.attachSound("title_music");
  116.                   var gameMusic_snd = new Sound(this);
  117.                   gameMusic_snd.attachSound("game_music");
  118.                   var endMusic_snd = new Sound(this);
  119.                   endMusic_snd.attachSound("title_music");
  120.                   var button_snd = new Sound(this);
  121.                   button_snd.attachSound("button");
  122.                   System.security.allowDomain("www.disney.go.com");
  123.                   System.security.allowDomain("disney.go.com");
  124.                   System.security.allowDomain("psc.disney.go.com");
  125.                   System.security.allowDomain("apsc.disney.go.com");
  126.                   System.security.allowDomain("tv.disney.go.com");
  127.                   System.security.allowDomain("atv.disney.go.com");
  128.                   System.security.allowDomain("scores.disney.go.com");
  129.                   if(fsd == null || fsd == undefined)
  130.                   {
  131.                      var fsd = "http://apsc.disney.go.com/disneychannel/global/game/scoredisplays/fsd8.swf";
  132.                   }
  133.                   var gameID = "jetix_pucca_gg";
  134.                   var subject = "Garu\'s Getaway";
  135.                   var playerName;
  136.                   var playerScore;
  137.                   var main = new com.ebm.Main(this);
  138.                   this.onEnterFrame = function()
  139.                   {
  140.                      if(getBytesLoaded() >= getBytesTotal())
  141.                      {
  142.                         nextFrame();
  143.                         delete this.onEnterFrame;
  144.                      }
  145.                   };
  146.                   stop();
  147.                }
  148.                break;
  149.             }
  150.             set("\x01",eval("\x01") + 132);
  151.             if(┬º┬ºpop())
  152.             {
  153.                set("\x01",eval("\x01") + 296);
  154.             }
  155.          }
  156.       }
  157.    }
  158. }
  159.